package com.example.demo.app.validate;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

import com.example.demo.app.Book;

public class DateValidate implements Validator {

	@Override
	public boolean supports(Class<?> arg0) {
		return arg0.equals(Book.class);
	}

	@Override
	public void validate(Object arg0, Errors arg1) {
		
	}

}
